<?php if (isset($error)) echo $error ?>
<div class="homeNews">
    <?php
    if (isset($newsHome)) {
        foreach ($newsHome as $news) {
            $Html->link($news['title'], $news['link'], 'p');
        }
    }
    ?>
</div>
